#ifndef WIDGET_H
#define WIDGET_H

#include <QWidget>
#include <QTimer>


class Widget : public QWidget
{
    Q_OBJECT

public:
    explicit Widget(QWidget *parent = nullptr);
    ~Widget();

    

private slots:
    void sliderslot(int val);
    void timerout();

    QRectF textRectF(double radius, int pointSize, double angle);

    void paintEvent(QPaintEvent * event);

private:
    int index;
    QTimer* timer;
};

#endif // WIDGET_H
